how to get length of object in php

49

how to get length of object in php -

$total = count((array)$obj);

Comments

Submit
0 Comments